package com.blog;

import com.alibaba.fastjson.JSONObject;
import com.blog.bean.DbTask;
import com.blog.bean.User;
import com.blog.dao.JdbcUtil;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class Test {

    public static void main(String[] args) {
        User user = new User();
        user.setId(1);
        user.setPhone("18012345678");
        user.setPassword("123456");
        System.out.println(JSONObject.toJSONString(user));
    }

}
